home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / setcache.zip / SETCACHE.DOC < prev    next >
Text File  |  1993-06-04  |  5KB  |  120 lines

  1.                         Cyrix 486SLC/486DLC
  2.                          Cache Controller
  3.  
  4. The SETCACHE.EXE program initializes the Cyrix 486 chips internal Cache
  5. to the desired mode. When the Cyrix chips are reset, cache is disabled.
  6. This program allows the user to setup cache for maximum operation speed.
  7.  
  8. The SETCACHE program may be executed in the AUTOEXEC.BAT file to enable
  9. cache operation at startup, or may be executed at any time from the
  10. command line. The default values have proven to be the fastest operation,
  11. however each user can establish their own setup. It may be that the
  12. 't' option can have a beneficial affect.
  13.  
  14. Command Line options are as follows:
  15.  
  16. Cache Control program for Cyrix 486SLC/486DLC Microprocessors.
  17. COPYRIGHT 1993 BY JOHN HICKEY of J. JENKS ENTERPRISES.
  18. }SETCACHE [options]
  19. Defaults to 2-way assoc., all mem. cached except A0000-FFFFF.
  20. Options as follows:
  21. t - DOS memory area A0000-FFFFF is cached.
  22. l - Cache inhibit 64K at 1 meg boundaries.
  23. m - Cache mode is direct-mapped.
  24. h - Flush Cache on CPU Hold.
  25. r#aaaaas - Inhibit cache at region #, starting
  26.     at address aaaaa X 1000h, for s size, where:
  27. #     - 1 to 4
  28. aaaaa - 00000-FFFFF hex = address bits 31-12 of inhibited memory.
  29. s     - 0-F size code as follows:
  30.  size-code     Range  size-code     Range  size-code     Range
  31.  0 - none       N/A   1 - 4KBytes   aaaaa  2 - 8KBytes   aaaaj
  32.  3 - 16KBytes  aaaak  4 - 32KBytes  aaaal  5 - 64KBytes  aaaa0
  33.  6 - 128KBytes aaaj0  7 - 256KBytes aaak0  8 - 512KBytes aaal0
  34.  9 - 1MBytes   aaa00  A - 2MBytes   aaj00  B - 4MBytes   aak00
  35.  C - 8MBytes   aal00  D - 16MBytes  aa000  E - 32MBytes  aj000
  36.  F - 4GBytes  00000(Cache is totally inhibited)
  37. a = 0-F Hex  j = 0, 2, 4, 6, 8, A, C or E Hex  k = 0, 4, 8 or C Hex
  38. l = 0 or 8 Hex     Spaces unnecessary between options.
  39. 02 00 000000 000000 000000 000000
  40.  
  41. SETCACHE with no options will initialize the Cache to the default values
  42. of 2-way associative cache and all memory cached except A0000 to FFFFF,
  43. and displays the above help screen.
  44.  
  45. To setup the Cache to the default values without printing the Help screen,
  46. follow the SETCACHE command with a space.
  47.  
  48. Option
  49.   t      - Cache DOS memory area A0000-FFFFF.
  50.   l      - Inhibit Caching of 64k bytes at each 1meg boundary.
  51.   m      - Cache Mode is direct mapped.
  52.   h      - Flush cache on CPU HOLD.
  53. r#aaaaas - Inhibit Cache in specific memory regions.
  54.          #     - Non-Cacheable Region number 1 to 4.
  55.          aaaaa - Region beginning boundary address in 4k segments (1000 hex).
  56.                  The boundary address must start on specific power of 2
  57.                  address, depending upon the size code. Valid addresses
  58.                  will be rounded down to the nearest appropriate value.
  59.          s     - Size code 0-F hex specifying region granularity.
  60.  
  61.         Size           Boundary   Boundary
  62.         code           addr range ending digit(s)
  63.          0 - not        N/A
  64.          1 - 4KBytes   aaaaa(000) 0-F
  65.          2 - 8KBytes   aaaaj  "   0,2,4,6,8,A,C,E
  66.          3 - 16KBytes  aaaak  "   0,4,8,C
  67.          4 - 32KBytes  aaaal  "   0,8
  68.          5 - 64KBytes  aaaa0  "   00-F0
  69.          6 - 128KBytes aaaj0  "   00,20,40,60,80,A0,C0,E0
  70.          7 - 256KBytes aaak0  "   00,40,80,C0
  71.          8 - 512KBytes aaal0  "   00,80
  72.          9 - 1MBytes   aaa00  "   000-F00
  73.          A - 2MBytes   aaj00  "   000,200,400,600,800,A00,C00,E00
  74.          B - 4MBytes   aak00  "   000,400,800,C00
  75.          C - 8MBytes   aal00  "   000,800
  76.          D - 16MBytes  aa000  "   0000-F000
  77.          E - 32MBytes  aj000  "   0000,2000,4000,6000,8000,A000,C000,E000
  78.         *F - 4GBytes   00000  "   Cache is totally inhibited.
  79.  
  80. After the SETCACHE program executes, the values currently in the
  81. Cache Controller registers are read back and are displayed as follows:
  82.  
  83. RX RY area-1 area-2 area-3 area-4
  84.  
  85. where
  86.  RX     = Cache Control Register CCR0
  87.  RY     = Cache Control Register CCR1
  88.  area-n = aaaaas for Non-Cacheable Region n.
  89.  
  90. The Cache Controller settings will remain unchanged until a System Reset
  91. is done or SETCACHE is rerun with new parameters.
  92.  
  93.  
  94.                           !!CAUTION!!!
  95.  
  96. Do not attempt to run this program on any CPU other than a 80486.
  97. It uses 486 unique instructions and will cause illegal instruction
  98. faults on lesser CPU's!!
  99.  
  100.  
  101.  
  102. SETCACHE.EXE is the Copyrighted work of John Hickey and J. JENKS Enterprises.
  103.  
  104.     Copyright June, 1993
  105.     All Rights Reserved
  106.  
  107.     Author         : John C. Hickey
  108.     Date of release: 06/04/93
  109.  
  110. Please let me know if you have any problems or find the program to be
  111. useful. Registered users may call if they have any problems, and will
  112. be notified of any upgrades.
  113.  
  114. John Hickey
  115. J. Jenks Enterprises
  116. 2155 Philippe Pkwy
  117. Safety Harbor, Fl, 34695
  118.  
  119. (813) 726-0648
  120.